-
Notifications
You must be signed in to change notification settings - Fork 4k
[PS] Migrate StorageMover module to autorest v4 #28333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
To the author of the pull request, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the StorageMover module from autorest v3 to autorest v4, updating the code generation framework and maintaining API compatibility. The migration includes comprehensive updates to generated models, parameter sets, documentation, and test configurations.
- Updates autorest framework from v3 to v4 for improved code generation
- Refreshes all generated PowerShell cmdlets and documentation with new parameter sets and model types
- Maintains backward compatibility through breaking change exceptions for enum type changes
Reviewed Changes
Copilot reviewed 77 out of 77 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
tools/StaticAnalysis/Exceptions/Az.StorageMover/BreakingChangeIssues.csv | Documents expected breaking changes from enum types to strings during migration |
src/StorageMover/StorageMover/help/*.md | Updates help documentation with new parameter sets and model namespaces |
src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobRun.Tests.ps1 | Fixes test to access JobRunResourceId property correctly |
src/StorageMover/StorageMover/Az.StorageMover.psd1 | Updates module dependencies and generation timestamp |
src/StorageMover/StorageMover.sln | Refreshes solution file with updated project configurations |
Comments suppressed due to low confidence (1)
src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobRun.Tests.ps1:23
- The property name 'JobRunResourceId1' appears to have an inconsistent suffix '1'. Consider using a more descriptive property name like 'JobRunResourceId' or verify this is the correct property name.
$jobRunName = $job.JobRunResourceId1.Split("/")[-1]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.